package top.bluesword.bean;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Picture {

    private FigureTypeEnum figureType;

    @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "figureType", include = JsonTypeInfo.As.EXTERNAL_PROPERTY)
    private NoTypeFigure mainFigure;

}
